<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<script>
var a = true
switch (a){
    case 3 > 2:
        console.log("你好来了");
        break;
    case false:
        console.log("你好坏");
        break;
}
</script>
</body>
</html>